//
//  NWILBaseTableViewCell.m
//  World
//
//  Created by lanou on 15/10/24.
//  Copyright © 2015年 小虫. All rights reserved.
//

#import "NWILBaseTableViewCell.h"

@implementation NWILBaseTableViewCell




- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        _pictureImage = [[UIImageView alloc]initWithFrame:CGRectMake(10 , 10, SCREEN_WIDTH - 20, 100)];
        [self.contentView addSubview:_pictureImage];
        
        _titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(10,105, SCREEN_WIDTH - 20,40)];
        [self.contentView addSubview:_titleLabel];
        
        _nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 150, 30, 20)];
        _nameLabel.font = [UIFont systemFontOfSize:12];
        _nameLabel.textColor = [UIColor grayColor];
        [self.contentView addSubview:_nameLabel];
        
        
        _timeLabel = [[UILabel alloc]initWithFrame:CGRectMake(45, 150, 30, 20)];
        _timeLabel.font = [UIFont systemFontOfSize:12];
        _timeLabel.textColor = [UIColor grayColor];
        [self.contentView addSubview:_timeLabel];
        
    }
    return self;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
